wayland: Use helper to translate to real parent window geometry
authorJonas Ådahl <jadahl@gmail.com>
Mon, 12 Sep 2016 10:39:06 +0000 (18:39 +0800)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 14 Sep 2016 03:29:32 +0000 (11:29 +0800)
commit74d237df410f850e31d5d20e0380ca3ad1caf766
tree84711988caa2c46280701ebf5401f15acf049c2e
parentbc6630bb7dd71cfc3a5ed1f93e2ef56c987acb30
wayland: Use helper to translate to real parent window geometry

Use a helper to translate a coordinate from non-real GdkWindow parent
to window geometry coordinate space of the real GdkWindow parent,
meaning the coordinate space of the GdkWindow of the parent used as a
xdg_popup parent where (0, 0) is inside of the shadow margin.

https://bugzilla.gnome.org/show_bug.cgi?id=771117
gdk/wayland/gdkwindow-wayland.c